package org.yin.hang.dao;

import org.apache.ibatis.annotations.Param;
import org.yin.hang.pojo.duanxin;


import java.util.List;

public interface duanxinDao extends CommonDao<duanxin,Integer> {


    public void addUserRole(@Param("userId") int userId, @Param("roleIds") int[] roleIds);
    public List<duanxin> getAll();
    public List<duanxin> getList();
    public List<duanxin> getConditionList(@Param("condition") duanxin condition);
    public List<duanxin> getByName();
}
